package com.hou.hpsj_springboot.service.Impl;

import com.hou.hpsj_springboot.bean.Videos;
import com.hou.hpsj_springboot.mapper.VideoMapper;
import com.hou.hpsj_springboot.service.VideoService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.ArrayList;

@Service
public class VideoServiceImpl implements VideoService {
    @Resource
    private VideoMapper videoMapper;

    @Override
    public ArrayList<Videos> selectVideos(int userId) {
        return videoMapper.selectVideos(userId);
    }


}
